package com.itheima.stock.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.List;

@ApiModel
@Data
//@Component
@ConfigurationProperties(prefix = "stock")
public class StockInfoConfig {

    //A股
    @ApiModelProperty("A股")
    private List<String> inner;

    //外盘
    @ApiModelProperty("外盘")
    private List<String> outer;

    //股票涨幅区间--集合
    @ApiModelProperty("股票涨幅区间--集合")
    private  List<String> upDownRange;

    /**
     * 大盘、外盘、个股的公共URL
     */
   @ApiModelProperty("大盘、外盘、个股的公共URL")
   private String marketUrl;

    /**
     * 板块采集URL
     */
   @ApiModelProperty("板块采集URL")
   private String blockUrl;
}
